github.com/refraction-networking/utls.GREASEEncryptedClientHelloExtension.payload (field)
9 uses
github.com/refraction-networking/utls (current package)
u_ech.go#L53: payload []byte // payload should be calculated ONCE and stored here, HRR will reuse this
u_ech.go#L130: if len(g.payload) == 0 {
u_ech.go#L150: if len(g.payload) != 0 {
u_ech.go#L154: g.payload = make([]byte, cipherLen(g.cipherSuite.AeadId, int(encodedHelloInnerLen)))
u_ech.go#L155: _, err := rand.Read(g.payload)
u_ech.go#L173: return 2 + 2 + 1 /* ClientHello Type */ + 4 /* CipherSuite */ + 1 /* Config ID */ + 2 + len(g.EncapsulatedKey) + 2 + len(g.payload)
u_ech.go#L195: b[12+len(g.EncapsulatedKey)] = byte(len(g.payload) >> 8)
u_ech.go#L196: b[12+len(g.EncapsulatedKey)+1] = byte(len(g.payload) & 0xFF)
u_ech.go#L197: copy(b[12+len(g.EncapsulatedKey)+2:], g.payload)
![]() |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |